import React from "react";
import Comment from "components/comment";

export default {
  key: "comment",
  name: "comment 组件",
  author: "谭冰沁",
  description: "审核审批的评论",
  isExampleFull: true,
  api: [
    {
      title: "API",
      data: [],
      description: "",
    },
  ],
  example: [
    {
      title: "基础用法",
      description: "参数跟::antd::的::Table::一致。",
      state: {
        data: [],
        selectedRowKeys: [],
      },
      getMethod: (context) => {
        return {};
      },
      getContent: (context) => {
        return <Comment placeholder={"请输入"} />;
      },
    },
  ],
};
